package org.jmh.gift.fallback;

import org.jmh.gift.client.PayClient;
import org.jmh.gift.enums.SystemErrorCode;
import org.jmh.gift.util.AjaxResult;
import org.springframework.stereotype.Component;

@Component
public class PayClientFallback implements PayClient {

    @Override
    public AjaxResult cancelPayOrder(String uniPayOrderSn) {
        return AjaxResult.error(SystemErrorCode.RESPONSE_CODE_500);
    }
}
